export function allDialogForm() {
  return [
    {
      label: '分类名称',
      prop: 'name',
      rules: [
        {
          required: true,
          message: '请输入分类名称',
        },
      ],
    },
    {
      type: 'number',
      label: '分类权重',
      prop: 'weight',
      rules: [
        {
          required: true,
          message: '请输入分类权重',
        },
      ],
    },
  ]
}
